<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Login</title>
</head>
<body>
<form action="{:url('admin/index/login')}" method="post">
    <div>
        <label for="">用户名：</label>
        <input type="text" name="username">
    </div>
    <div>
        <label for="">密码:</label>
        <input type="password" name="password">
    </div>
    <div>
        <label for="">验证码:</label>
        <img src="{:captcha_src()}" alt="captcha" />
        <input type="text" name="captcha">
    </div>
    <div>
        <button type="submit">登陆</button>
    </div>
</form>
</body>
</html>